package api

import (
	"evtest/util/app"
	"evtest/ventpipe"
	"github.com/gin-gonic/gin"
)

func QueryToken(c *gin.Context) {
	appG := app.Gin{C: c}
	ventpipe.TokenPipe.Interrupt <- true
	appG.Success(ventpipe.TokenPipe.QueryTokenRsp)
}
